package andreafrancia.util.remote;

/**
 * Thrown when a {@link RemotedList#remotize(List)} fails.
 * 
 * @author Andrea Francia andrea.francia at gmx dot org
 */
public class RemotizationFailedException extends Exception {

    /**
     * Creates a new instance of <code>RemotizationFailedException</code> without detail message.
     */
    public RemotizationFailedException() {
    }


    /**
     * Constructs an instance of <code>RemotizationFailedException</code> with the specified detail message.
     * @param msg the detail message.
     */
    public RemotizationFailedException(String msg) {
        super(msg);
    }

    @Override
    public synchronized RemotizationFailedException initCause(Throwable cause) {
        return (RemotizationFailedException) super.initCause(cause);
    }
    
    
}
